package avicit.bdp.dms.das.dao;


import avicit.bdp.common.base.BaseDAO;
import avicit.bdp.dms.das.dto.BusinessDTO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/** 
 * 业务对象表数据操作接口
 *
 */
public interface BusinessDAO extends BaseDAO<BusinessDTO>{


    Page<BusinessDTO> getPageList(@Param("catrgoryIds") List<String> catrgoryIds,
                                  @Param("keyWords") String keyWords,
                                  @Param("type") Integer type,
                                  @Param("wordSecretList") List<String> wordSecretList);

    List<BusinessDTO> selectListByType(@Param("type") Integer type);

    BusinessDTO queryById(@Param("id") String id);

    List<BusinessDTO> selectListByCategoryId(@Param("categoryId") String categoryId,
                                             @Param("wordSecretList") List<String> wordSecretList);
}
